18008 Invalid event item mask. Need UniqueId and Text fields to be set.
18009 No matching connection to execute this on. Will auto-create one.
18501 Could not allocate memory.
18502 Could not spawn a thread.
18503 Could not add item to list.
18504 No matching connection to execute this on.
18505 Could not remove item from list.
18506 Connection already exists.
19020 Error in xp_sqltrace logic
19021 Trace session has been aborted by the server because the client did not retrieve data within an acceptable time.\n\nCheck for other client applications tying up the client workstation or a slow network link.\n\nIncrease the server timeout only if necessary.
19022 Error: Invalid number of Parameters
19023 Invalid Parameter
19024 Error: Invalid @Function parameter, must be 'audit', 'control', 'remove', 'stop' or 'trace'.
19039 Specified ClientId is not currently tracing.
19040 Unable to locate the specified TraceId.
19041 Unable to create necessary data structures. Probably insufficient memory on the SQL Server machine.
19042 The auditing sub-system was not successfully installed.\n\nThis server will not be auditable until it has been restarted.
19043 Unable to open the audit file for write access.\n\nAuditing is unchanged.
19044 Auditing has been successfully started.
19045 Auditing has been successfully stopped.
19046 Unable to open the log file for write access.\n\nThis trace session has therefore been terminated.
19047 Unable to write to log file.\n\nThis trace session has therefore been terminated.
19056 Auditing has been successfully modified.
19057 xp_trace_geteventnames requires 1 parameter:\n integer - event class (optional).
19058 xp_trace_addnewqueue requires 6 parameters:\n integer - max number of items in the queue, max val = 20000,\n integer - time out value for the queue,\n integer - number of items in the queue at which to boost priority,\n integer - number of items in the queue at which to reduce priority,\n integer - mask of the required columns (0 -> all columns),\n integer - output parameter for event queue,\n integer - (Optional)\n 0: Don't select internal event classes\n 1: Select internal event classes.
19059 xp_trace_destroyqueue requires 1 parameter:\n integer - handle for the event queue.
19060 xp_trace_seteventclassrequired requires 3 parameters: \n integer - handle for the event queue,\n integer - the event class required,\n integer - 0: should not be in the trace list,\n 1: should be in the trace list.
19062 xp_trace_tofileconsumer requires 1 parameter: \n integer - handle for the event queue.
19063 requires 3 parameters: \n integer - handle for the event queue,\n string - include filter,\n string - exclude filter.
19064 requires 1 parameter: \n integer - handle for the event queue.
19065 xp_trace_seteventfilter requires 4 parameters: \n integer - handle for the event queue,\n integer - the event class,\n string - include filter\n string - exclude filter.
19066 xp_trace_geteventfilter requires 2 parameters: \n integer - handle for the event queue,\n integer - the event class (optional).
19067 xp_trace_toeventlogconsumer requires 1 parameter: \n integer - handle for the event queue.
19068 failed due to an ODS error
19069 xp_trace_savequeuedefinition requires 3 parameters: \n integer - handle for the event queue,\n string - the queue name,\n integer - 0: the settings are saved in HKEY_CURRENT_USER,\n 1: the settings are saved in HKEY_LOCAL_MACHINE.
19070 xp_trace_loadqueuedefinition requires 3 parameters: \n integer - handle for the event queue,\n string - the queue name,\n integer - 0: the settings are saved in HKEY_CURRENT_USER,\n 1: the settings are saved in HKEY_LOCAL_MACHINE.
19071 xp_trace_deletequeuedefinition requires 2 parameters: \n string - the queue name,\n integer - 0: the settings are saved in HKEY_CURRENT_USER,\n 1: the settings are saved in HKEY_LOCAL_MACHINE.
19072 requires 2 parameters: \n integer - handle for the event queue,\n integer - filter value.
19073 requires 1 parameter: \n integer - handle for the event queue.
19074 requires 3 parameters: \n integer - handle for the event queue,\n integer - min filter value,\n integer - max filter value.
19075 requires 1 parameter: \n integer - handle for the event queue.
19076 xp_trace_setqueueautostart requires 2 parameters: \n string - queue name (must be common),\n integer - 0: Off,\n 1: On.
19078 xp_trace_pausequeue requires 1 parameter:\n integer - handle for the event queue.
19079 xp_trace_restartqueue requires 1 parameter:\n integer - handle for the event queue.
19080 Could not complete %s. Unable to open file.
19081 Could not complete %s. IO error.
19082 Could not complete %s. Timed out.
19083 Could not complete %s. Invalid queue handle. Queue has either not been created or has been destroyed.
19084 Could not complete %s. Invalid parameters to create the queue.
19085 Could not complete %s. Tracing has not been initialized. Make sure ComnEvnt.dll is on the path and that MS SQL Server was not started with the -x switch.
19086 Could not complete %s. Insufficient memory. Memory can be freed by closing unwanted applications.
19087 Could not complete %s. Invalid event class.
19088 Could not complete %s. Check you have registry permissions for the MSSQLServer section
19089 Could not complete %s. Check the name of the definition, the common flag, that no one else has deleted the definition and that you have registry permissions for the MSSQLServer section.
19090 Could not complete %s. Unable to create new thread.
19091 Could not complete %s. A consumer is already associated with this queue.
19092 Cannot complete %s. Function not supported. Check for old copies of ComnEvnt.DLL on the file path.
19093 %s. Warning! - Queue is already active.
19094 %s. Warning! - Queue is already paused.
19095 Could not complete %s. Unable to execute the query.
19096 Could not complete %s. Unable to get results.
19097 Could not complete %s. Unable to get data.
19098 Internal Error
19099 xp_trace_getevents requires 4 parameters: \n integer - handle for the event queue,\n integer - 0: the text field is displayed only up to 255 characters,\n 1: the text field is to be displayed in full,\n integer - 0: event name displayed as string,\n 1: event name displayed as integer,\n integer - number of events to get (optional).
19100 xp_trace_eventclassrequired requires 2 parameters:\n integer - handle for the event queue,\n integer - event class (optional).
19101 xp_trace_getqueueproperties requires 1 parameter:\n integer -handle for the event queue.
19102 xp_trace_enumqueuehandles requires 1 parameter:\n integer -handle of queue to start enumeration from (optional).
19103 xp_trace_enumqueuedefname requires 2 parameters:\n integer - the common flag, \n string - queue name to start enumeration (optional).
19107 The operation could not be completed because your security context could not be impersonated.\n\nUse the SQL Server Client Configuration application to ensure that you are connecting using either the Named Pipes or Multiprotocol network library.
19108 xp_trace_setqueuehistory requires 1 parameter (optional):\n integer - 0: set query history off,\n 1: set query history on.
19113 xp_trace_getqueuecreateinfo requires 1 parameter: \n integer - handle for the event queue.
19114 xp_trace_setqueuecreateinfo requires 6 parameters:\n integer - handle for the event queue,\n integer - max. number of items in the queue, max. val = 20000,\n integer - time out value for the queue,\n integer - number of items in the queue at which to boost priority,\n integer - number of items in the queue at which to reduce priority,\n integer - mask of the required columns (0 -> all columns).
19115 requires 2 parameters: \n integer - handle for the event queue,\n integer - 0: trace system objects,\n 1: don't trace system objects.
19116 requires 1 parameter: \n integer - handle for the event queue.